/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package javaboken;
import java.awt.*;
import javax.swing.*;
/**
 *
 * @author Bertil
 */
public class kap116{
    public static void launchKap116(){
        Direkt1 d = new Direkt1();
    }
}

class Direkt1 extends JApplet{
    public void Direkt1(){
        JLabel text = new JLabel("blahblah", JLabel.CENTER);
        add(text);
        text.setOpaque(true);
        text.setBackground(Color.yellow);
        text.setForeground(Color.blue);
        text.setFont(new Font("Serif", Font.BOLD, 24));
    }
}
